package com.textmanager;

import com.textmanager.db.DatabaseHelper;
import com.textmanager.ui.MainFrame;

import javax.swing.*;

public class Main {
    public static void main(String[] args) {
        // Initialize the database first
        DatabaseHelper.initializeDatabase();

        SwingUtilities.invokeLater(() -> {
            MainFrame frame = new MainFrame();
            frame.setVisible(true);
        });
    }
}